import std.stdio;
import std.gc;

import sdldee.all;
import sdldee.c.sdl;

int main(char args[][]) {
	init(InitFlag.EVERYTHING | InitFlag.NOPARACHUTE);

	VideoSurface screen = new VideoSurface(640, 480, 32, SurfaceFlag.ANYFORMAT);
	
	Surface image = new Surface("sdllogo.bmp");
	
	screen.blit(image, new Rectangle(0, 0, 640, 480), new Rectangle(0, 0, 640, 480));
	screen.flip();
	
	SDL_Delay(5000);
	
	quit();
	return 0;
}
